#ifndef MODBUSINSTRUCTIONTEST_H
#define MODBUSINSTRUCTIONTEST_H

#include <QDialog>
#include "programset.h"
//#include "programengine.h"
#include "modbusRead.h"
#include "modbusStart.h"
#include "modbusWrite.h"
#include <QVector>
#include <QDataStream>
#include <QString>
#include "programtexttransfer.h"
#include <QDebug>
#include "line.h"

namespace Ui {
class modbusInstructionTest;
}

class modbusInstructionTest : public QDialog
{
    Q_OBJECT

public:
    explicit modbusInstructionTest(QWidget *parent = 0);
    ~modbusInstructionTest();

private slots:
    void on_Button_ModbusStart_clicked();

    void on_Button_ModbusRead_clicked();

    void on_Button_ModbusWrite_clicked();

private:
    Ui::modbusInstructionTest *ui;
    ProgramSet *programSet;
    ProgramTextTransfer *programTextTransfer;
    QVector <QString> cmdStrList_out;
    QVector <PointPro> pointList_out;
    QVector <PlRegStruct> regPlList_out;
    QVector <StackInfo> palletStackInfo_out;

};

#endif // MODBUSINSTRUCTIONTEST_H
